﻿namespace MES.Server.API.Dto.Account
{
    /// <summary>
    /// 单据编码规则DTO（关联动态菜单和字段）
    /// </summary>
    public class DocumentCodeRuleDTO
    {
        public long Id { get; set; }
        public string BusinessEntity { get; set; } // 关联菜单的BusinessEntity
        public string MenuName { get; set; } // 图二业务名称下拉框显示的菜单名称
        public string RuleName { get; set; }
        public string EntityField { get; set; } // 动态单据字段
        public string FieldDisplayName { get; set; } // 字段显示名称
        public string DateField { get; set; }
        public string Prefix { get; set; }
        public string RuleType { get; set; }
        public int NumberDigits { get; set; }
        public string GrowthType { get; set; }
        public string Connector { get; set; }
        public string CodePreview { get; set; }
    }
}
